projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
726b0d8
)
Only include gtktrayicon.h when building for X11
author
Kristian Rietveld
<kris@gtk.org>
Mon, 31 Jan 2011 22:10:49 +0000
(23:10 +0100)
committer
Kristian Rietveld
<kris@gtk.org>
Mon, 31 Jan 2011 22:54:38 +0000
(23:54 +0100)
GtkTrayIcon depends on GtkPlug which is X11-specific. This fixes the
build for Quartz.
gtk/gtkstatusicon.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstatusicon.c
b/gtk/gtkstatusicon.c
index 422d0859d5f7761c8273cd6f0901bcba715f5f6c..3888e3c25758125df79f36c59565ed4e5b1c523e 100644
(file)
--- a/
gtk/gtkstatusicon.c
+++ b/
gtk/gtkstatusicon.c
@@
-38,7
+38,6
@@
#include "gtkmain.h"
#include "gtkmarshalers.h"
#include "gtksizerequest.h"
-#include "gtktrayicon.h"
#include "gtkprivate.h"
#include "gtkwidget.h"
#include "gtktooltip.h"
@@
-48,6
+47,7
@@
#ifdef GDK_WINDOWING_X11
#include "gdk/x11/gdkx.h"
+#include "gtktrayicon.h"
#endif
#ifdef GDK_WINDOWING_WIN32